﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;

namespace Windows8Accelerator.Core.Xaml.Controls.Charts
{
    public interface IDataSerie
    {
        double GetMinY();
        double GetMaxY();
        double GetMinX();
        double GetMaxX();

        double GetCount();
        object GetItem(int index);
        DataTemplate GetItemTemplate();

        double GetYAsDouble(int index);

        double GetXAsDouble(int index);

        object GetX(int index);

        string GetXLabel(int index);

        object GetY(int index);

        string GetYLabel(int index);

        DataTemplate GetXLabelTemplate();

        DataTemplate GetYLabelTemplate();

        Func<double, string> YValueToString { get; set; }
    }
}
